home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄16⁄90 / 0903-Re Simulating SFGetF-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-16  |  1.0 KB  |  31 lines  |  [TEXT/GEOL]

  1. Item    0173171                         15-March-90        17:55PST
  2.  
  3. From:   MOOF                            Rollin, Keith A
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    RE>Simulating SFGetFile &
  8.  
  9. Attn: Ed Anuff
  10. SentBy: Keith Rollin
  11.          Reply to:
  12.                     RE>Simulating SFGetFile & SF
  13.  
  14. Ed,
  15.  
  16. The big problem with doing an SFAnythingFile dialog with MacApp dialogs is
  17. that MultiFinder relies on standard Standard File action. In order to get your
  18. application to open a file once your application is already running,
  19. MultiFinder fakes a series of events that makes your application think the
  20. user is selecting the Open menu item. It then patches Standard File to return
  21. the name of the file that was double clicked on, without ever opening the
  22. dialog. If you call TWindow.Open and TDialog.PoseModally instead of SFGetFile,
  23. then MultiFinder will no longer work.
  24.  
  25. I suppose one solution to this would be for MacApp to patch SF itself.
  26.  
  27. - Keith Rollin
  28. - Apple Developer Technical Support
  29.  
  30.  
  31.